package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserHonorLogDao;
import com.frogs.ucenter.entity.UserHonorLog;
import com.frogs.ucenter.service.UserHonorLogService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userHonorLogService")
public class UserHonorLogServiceImpl extends BaseServiceImpl<UserHonorLog> implements UserHonorLogService {
    @Autowired
    private UserHonorLogDao userHonorLogDao;

    public UserHonorLogServiceImpl() {
        super();
    }

    public UserHonorLogDao getUserHonorLogDao() {
        return userHonorLogDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserHonorLog> getBaseDao() {
        return userHonorLogDao;
    }

    public void setUserHonorLogDao(UserHonorLogDao userHonorLogDao) {
        this.userHonorLogDao = userHonorLogDao;
    }
}